<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="./lib/bootstrap-validator/css/bootstrapValidator.css">
    <link rel="stylesheet" href="./css/common.css">
</head>

<body class="bg-color">

    <div class="container">
        <!-- .row  将一行化作12列 -->
        <div class="row">
            <!-- col-lg-offset-*   向右偏移*列 -->
            <!-- col-lg-4  表示12列占4列的长 -->
            <div class="col-lg-4 col-lg-offset-4 mt-200">

                <!-- 引入的面板 -->
                <div class="panel panel-primary">
                    <div class="panel-heading text-center">
                        <h3>后台管理系统</h3>
                    </div>
                    <div class="panel-body">
                        <!-- 引入的表单 -->
                        <form class="form-horizontal login-form">
                            <!-- 每个表单需要放在一个表单组中form-group -->
                            <div class="form-group">
                                <!-- label绑定输入框 for属性等于id名 -->
                                <label for="username" class="col-sm-3 control-label">用户名:</label>
                                <!-- 修改col-sm-* 可以改变布局状况 -->
                                <div class="col-sm-9">
                                    <!-- 需要什么框 type值就要改成你所需要的框 表单提交到后台一定要写name属性　-->
                                    <input type="text" class="form-control" id="username" placeholder="请输入用户名" name="username">
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="password" class="col-sm-3 control-label">密　码:</label>
                                <div class="col-sm-9">
                                    <input type="password" class="form-control" id="password" placeholder="请输入密码" name="password">
                                </div>
                            </div>


                            <div class="form-group">
                                <!-- 改变格局 可以控制按钮的位置 -->
                                <div class="col-sm-offset-3 col-sm-6">
                                    <!-- 重置名是reset -->
                                    <button type="reset" class="btn btn-danger pull-left">重置</button>
                                    <button type="submit" class="btn btn-primary pull-right">登入</button>
                                </div>
                            </div>

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>











    <script src="./lib/jquery/jquery.min.js"></script>
    <script src="./lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="./lib/bootstrap-validator/js/bootstrapValidator.min.js" ></script>
    <script src="./js/common.js"></script>
    <script src="./js/login.js" ></script>
</body>

</html>